package cn.ainit.edi.entity;

import java.io.File;
import java.sql.Date;
import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import oracle.sql.BLOB;
import oracle.sql.TIMESTAMP;


@Entity
@Table(name = "SYS_DB_SCHEMA_INFO")
public class SysDBSchemaInfo {
	//分类ID
	@Id
	@Column(name="SCHEMA_TYPE_ID")
	private String schemaTypeId;
	//分类名
	@Column(name="SCHEMA_TYPE_NAME")
	private String schemaTypeName;
	//表前缀
	@Column(name="TABLE_PREFIX")
	private String tablePrefix; 
	//录入时间
	@Column(name="INPUT_DATE")
	private Timestamp inputDate;
	//录入人
	@Column(name="O_ID_INPUT")
	private String oidInput;
	//表数量
	@Column(name="TABLE_COUNT",nullable=true)
	private Double tableCount;
	//是否已经创建
	@Column(name="IS_CREATED")
	private String created;
	//备注
	@Column(name="MEMO")
	private String memo;
	//前置
	@Column(name="PREP_PROC")
	private String preProc;
	//后置
	@Column(name="AFTER_PROC")
	private String afterProc;
	//成功是否移除
	@Column(name="SUCCESS_MOVE_FILE")
	private String successMoveFile;
	//移除位置
	@Column(name="MOVE_TO_DIR")
	private String moveToDir;
	//解析文件
	@Column(name="FILE_FORMAT")
	private String fileFormat;
	//文件名
	@Column(name="DATA_DBI")
	private String dataDBI;
	//解析类型
	@Column(name="PARSE_TYPE")
	private String parseType;
	
	@Column(name="SCHEMA_DATA")
	private String SchemaData;
	
	
	public String getSchemaData() {
		return SchemaData;
	}

	public void setSchemaData(String schemaData) {
		SchemaData = schemaData;
	}

	public String getSchemaTypeId() {
		return schemaTypeId;
	}

	public void setSchemaTypeId(String schemaTypeId) {
		this.schemaTypeId = schemaTypeId;
	}

	public String getSchemaTypeName() {
		return schemaTypeName;
	}

	public void setSchemaTypeName(String schemaTypeName) {
		this.schemaTypeName = schemaTypeName;
	}

	public String getTablePrefix() {
		return tablePrefix;
	}

	public void setTablePrefix(String tablePrefix) {
		this.tablePrefix = tablePrefix;
	}
	
	public Timestamp getInputDate() {
		return inputDate;
	}

	public void setInputDate(Timestamp inputDate) {
		this.inputDate = inputDate;
	}

	public String getOidInput() {
		return oidInput;
	}

	public void setOidInput(String oidInput) {
		this.oidInput = oidInput;
	}

	public Double getTableCount() {
		return tableCount;
	}

	public void setTableCount(Double tableCount) {
		this.tableCount = tableCount;
	}

	public String getPreProc() {
		return preProc;
	}

	public void setPreProc(String preProc) {
		this.preProc = preProc;
	}

	public String getAfterProc() {
		return afterProc;
	}

	public void setAfterProc(String afterProc) {
		this.afterProc = afterProc;
	}

	public String getSuccessMoveFile() {
		return successMoveFile;
	}

	public void setSuccessMoveFile(String successMoveFile) {
		this.successMoveFile = successMoveFile;
	}

	public String getMoveToDir() {
		return moveToDir;
	}

	public void setMoveToDir(String moveToDir) {
		this.moveToDir = moveToDir;
	}

	public String getFileFormat() {
		return fileFormat;
	}

	public void setFileFormat(String fileFormat) {
		this.fileFormat = fileFormat;
	}

	public String getDataDBI() {
		return dataDBI;
	}

	public void setDataDBI(String dataDBI) {
		this.dataDBI = dataDBI;
	}

	public String getParseType() {
		return parseType;
	}

	public void setParseType(String parseType) {
		this.parseType = parseType;
	}

	public String getCreated() {
		return created;
	}

	public void setCreated(String created) {
		this.created = created;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}
}
